import { request } from '@/utils/http'

export default {
  getRotorTypeList: (params = {}) => request.get('/rotor/list', { params }),
  getRotorType: (params) => request.get('/rotor/get', { params }),
  createRotorType: (data) => request.post('/rotor/create', data),
  updateRotorType: (data) => request.post('/rotor/update', data),
  deleteRotorType: (params) => request.delete('/rotor/delete', { params }),
} 